package wsz.email.service;

import javax.mail.MessagingException;

/**
 * 邮件发送服务
 * @author wsz
 * @date 2021/12/28 19:11
 **/
public interface MailService {

    /**
     * 发送简单文本，无抄送与附件
     * @param subject
     * @param content
     * @param toWho
     */
    void sendSimpleTextMail(String subject, String content, String[] toWho) throws MessagingException;
}
